package com.zhongwang.business.gen.mapper;

import com.zhongwang.business.gen.entity.BusDataSourceTemplate;
import com.zhongwang.business.gen.entity.BusDataSourceTemplateExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface BusDataSourceTemplateMapper {
    long countByExample(BusDataSourceTemplateExample example);

    int deleteByExample(BusDataSourceTemplateExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(BusDataSourceTemplate record);

    int insertSelective(BusDataSourceTemplate record);

    List<BusDataSourceTemplate> selectByExample(BusDataSourceTemplateExample example);

    BusDataSourceTemplate selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") BusDataSourceTemplate record, @Param("example") BusDataSourceTemplateExample example);

    int updateByExample(@Param("record") BusDataSourceTemplate record, @Param("example") BusDataSourceTemplateExample example);

    int updateByPrimaryKeySelective(BusDataSourceTemplate record);

    int updateByPrimaryKey(BusDataSourceTemplate record);
}